package com.snow.campuslink.secondHand.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Gaosl
 * @since 2021-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cl_second_hand_goods")
@ApiModel(value="SecondHandGoods对象", description="")
public class SecondHandGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "二手交易商品id")
    @TableId(value = "sh_goods_id", type = IdType.AUTO)
    private Long shGoodsId;

    @ApiModelProperty(value = "商品标题")
    private String shGoodsTitle;

    @ApiModelProperty(value = "商品信息")
    private String shGoodsInfo;

    @ApiModelProperty(value = "商品卖家id")
    private Long shGoodsSellerId;

    @ApiModelProperty(value = "商品标签")
    private Long shGoodsTagId;

    @ApiModelProperty(value = "商品成色")
    private Integer shGoodsLevel;

    @ApiModelProperty(value = "商品已被使用时间")
    private Date shGoodsUsedTime;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal shGoodsPrice;

    @ApiModelProperty(value = "商品浏览量")
    private Integer shGoodsBrowsedCount;

    @ApiModelProperty(value = "商品点赞量")
    private Integer shGoodsLikedCount;

    @ApiModelProperty(value = "商品收藏量")
    private Integer shGoodsCollectedCount;

    @ApiModelProperty(value = "商品评论量")
    private Integer shGoodsCommentCount;

    @ApiModelProperty(value = "是否含有图片视频：1含有，0不含")
    private Boolean isWithImageVideo;

    @ApiModelProperty(value = "逻辑删除:1  删除，0  未删除")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date modifiedTime;


}
